//
//  RegSelectViewController.m
//  CarTown
//
//  Created by 熊浩 on 15/7/30.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "RegSelectViewController.h"
#import "PersonalRegStep1ViewController.h"
@interface RegSelectViewController ()

@end

@implementation RegSelectViewController

-(UIStatusBarStyle)preferredStatusBarStyle{
    return UIStatusBarStyleLightContent;
}


- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBarHidden=NO;
    self.navigationItem.title=@"注册";
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
    if ([segue.identifier isEqualToString:@"personal"]) {
       PersonalRegStep1ViewController *reg=segue.destinationViewController;
        reg.isreg=YES;
    }
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
